home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="EUC-KR" ?>
- <!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
- <?xml-stylesheet type="text/xsl" href="./style/manual.ko.xsl"?>
- <!-- English Revision: 1.6.2.8 -->
-
- <!--
- Copyright 2003-2004 The Apache Software Foundation
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
- <manualpage metafile="logs.xml.meta">
-
- <title>╖╬▒╫╞─└╧</title>
-
- <summary>
- <p>╚┐└▓└√└╕╖╬ └Ñ╝¡╣÷╕ª ░ⁿ╕«╟╧╖┴╕Θ ╣▀╗²╟╧┤┬ ╣«┴ª┐═ ╟╘▓▓ ╝¡╣÷└╟
- ╚░╡┐░· ╝║┤╔┐í ┤δ╟╪ ╛╦╛╞╛▀ ╟╤┤┘. ╛╞╞──í └Ñ╝¡╣÷┤┬ ╕┼┐∞ ┴╛╟╒└√└╠░φ
- └»┐¼╟╤ ╖╬▒╫ ▒Γ┤╔└╗ ┴ª░°╟╤┤┘. └╠ ╣«╝¡┤┬ ╖╬▒╫ ▒Γ┤╔└╗ ╝│┴ñ╟╧┤┬
- ╣µ╣²░· ╖╬▒╫┐í ╡Θ╛ε░Ñ │╗┐δ└╗ ╝│╕φ╟╤┤┘.</p>
- </summary>
-
- <section id="security">
- <title>║╕╛╚ ░µ░φ</title>
-
- <p>┤⌐▒║░í┐í░╘ ╛╞╞──í└╟ ╖╬▒╫╞─└╧└╠ └╓┤┬ ╡≡╖║┼Σ╕«┐í ╛▓▒Γ▒╟╟╤└╠
- └╓┤┘╕Θ (║╕┼δ root) ╝¡╣÷╕ª ╜╟╟α╟╧┤┬ uid╕ª ░┼└╟ ╚«╜╟╚≈ ╛≥└╗
- ╝÷ └╓┤┘. └╠╕ª ░φ╖┴╟╧┴÷╛╩░φ ╖╬▒╫░í └·└σ╡╚ ╡≡╖║┼Σ╕«┐í ╛▓▒Γ▒╟╟╤└╗
- ┴╓┴÷ <em>╕╢╢≤</em>. └┌╝╝╟╤ │╗┐δ└║ <a
- href="misc/security_tips.html">║╕╛╚ ╞┴</a> ╣«╝¡╕ª ┬ⁿ░φ╟╧╢≤.</p>
-
- <p>╢╟, ┼¼╢≤└╠╛≡╞«░í ┴ª░°╟╤ ┴ñ║╕┤┬ ╖╬▒╫╞─└╧┐í ░┼└╟ ▒╫┤δ╖╬
- ▒Γ╖╧╡╚┤┘. ▒╫╖í╝¡ ╛╟└╟░í └╓┤┬ ┼¼╢≤└╠╛≡╞«░í ╖╬▒╫╞─└╧┐í ┴ª╛ε╣«└┌╕ª
- │╓└╗ ╝÷ └╓└╕╣╟╖╬, ╖╬▒╫╕ª ┤┘╖Ω╢º┤┬ ┴╓└╟╟╪╛▀ ╟╤┤┘.</p>
- </section>
-
- <section id="errorlog">
- <title>┐└╖∙ ╖╬▒╫ (Error Log)</title>
-
- <related>
- <directivelist>
- <directive module="core">ErrorLog</directive>
- <directive module="core">LogLevel</directive>
- </directivelist>
- </related>
-
- <p><directive module="core">ErrorLog</directive> ┴÷╜├╛ε┤┬
- ░í└σ ┴▀┐Σ╟╤ ╖╬▒╫╞─└╧└╬ ╝¡╣÷ ┐└╖∙ ╖╬▒╫└╟ └╠╕º░· └º─í╕ª ┴÷┴ñ╟╤┤┘.
- ╛╞╞──í └Ñ╝¡╣÷┤┬ └╠ ╞─└╧┐í ┴°┤▄┴ñ║╕┐═ ┐Σ├╗└╗ ├│╕«╟╧┤┬ ╡╡┴▀
- ╣▀╗²╟╤ ┐└╖∙╕ª ▒Γ╖╧╟╤┤┘. ╝¡╣÷░í ╜├└█╟╧░┼│¬ ╡┐└█╟╧┤┬╡Ñ ╣«┴ª░í
- └╓┤┘╕Θ ╣½╛∙└╠ └▀╕°╡╟╛·░φ ╢º╢º╖╬ ╛ε╢╗░╘ ░φ─í┤┬┴÷╕ª ╛╦╖┴┴╓┤┬
- └╠░≈└╗ ░í└σ ╕╒└· ╗∞╞∞║┴╛▀ ╟╤┤┘.</p>
-
- <p>┐└╖∙ ╖╬▒╫┤┬ ║╕┼δ (└ⁿ╟ⁿ└√└╕╖╬ └»┤╨╜║ ╜├╜║┼█┐í╝¡┤┬
- <code>error_log</code>, └⌐╡╡┐∞┴ε┐═ OS/2┐í╝¡┤┬
- <code>error.log</code>) ╞─└╧┐í ▒Γ╖╧╡╚┤┘. └»┤╨╜║ ╜├╜║┼█┐í╝¡
- ╝¡╣÷┤┬ ┐└╖∙╕ª <code>syslog</code>│¬ <a href="#piped">╞─└╠╟┴╕ª
- ╗τ┐δ╟╧┐⌐ ┤┘╕Ñ ╟┴╖╬▒╫╖Ñ</a>└╕╖╬ ║╕│╛ ╝÷╡╡ └╓┤┘.</p>
-
- <p>┐└╖∙ ╖╬▒╫└╟ ╟ⁿ╜─└║ ╗≤┤δ└√└╕╖╬ └┌└»╖╙░φ └┌╝╝╟╧┤┘. ▒╫╖»│¬
- ┤δ║╬║╨└╟ ┐└╖∙ ╖╬▒╫ ╟╫╕±┐í ░°┼δ└√└╕╖╬ │¬┐└┤┬ ┴ñ║╕░í └╓┤┘.
- ┐╣╕ª ╡Θ╛ε, ╟╫╕±└║ ║╕┼δ ┤┘└╜░· ░░┤┘.</p>
-
- <example>
- [Wed Oct 11 14:32:52 2000] [error] [client 127.0.0.1]
- client denied by server configuration:
- /export/home/live/ap/htdocs/test
- </example>
-
- <p>╖╬▒╫ ╟╫╕±┐í╝¡ ├╣╣°┬░ ╟╫╕±└║ │»┬Ñ┐═ ╜├░ú└╠┤┘. ╡╬╣°┬░
- ╟╫╕±└║ ║╕░φ╟╧┤┬ ┐└╖∙└╟ ╜╔░ó╝║└╗ │¬┼╕│╜┤┘. <directive
- module="core">LogLevel</directive> ┴÷╜├╛ε╖╬ ┐└╖∙ ╖╬▒╫┐í
- ▒Γ╖╧╡╟┤┬ ┐└╖∙└╟ ╜╔░ó╝║└╗ ┴ª╟╤╟╥ ╝÷ └╓┤┘. ╝╝╣°┬░ ╟╫╕±└║
- ┐└╖∙╕ª ╣▀╗²╟╤ ┼¼╢≤└╠╛≡╞«└╟ IP ┴╓╝╥└╠┤┘. └╠ ┤┘└╜║╬┼═ ┐└╖∙╣«└╠
- │¬┐└╕τ, └╠ ░µ┐∞ ╝¡╣÷░í ┼¼╢≤└╠╛≡╞«└╟ ┴ó▒┘└╗ ░┼║╬╟╧╡╡╖╧
- ╝│┴ñ╡╟╛·┤┘░φ │¬┐═└╓┤┘. ┐Σ├╗╟╤ ╣«╝¡└╟ (└Ñ ░µ╖╬░í ╛╞┤╤)
- ╞─└╧╜├╜║┼█ ░µ╖╬╡╡ ║╕└╬┤┘.</p>
-
- <p>┐└╖∙ ╖╬▒╫┐í┤┬ ╕┼┐∞ ┤┘╛τ╟╤ ┴╛╖∙└╟ ╣«▒╕░í │¬┐├ ╝÷ └╓┤┘.
- ┤δ║╬║╨└║ └º┐═ ║±╜┴╟╧┤┘. CGI ╜║┼⌐╕│╞«└╟ ╡≡╣÷▒δ ├Γ╖┬╡╡ ┐└╖∙
- ╖╬▒╫┐í ▒Γ╖╧╡╚┤┘. CGI ╜║┼⌐╕│╞«░í <code>stderr</code>┐í ╛┤
- ┴ñ║╕┤┬ ▒╫┤δ╖╬ ┐└╖∙ ╖╬▒╫╖╬ ║╣╗τ╡╚┤┘.</p>
-
- <p>┐└╖∙ ╖╬▒╫┐í ┴ñ║╕╕ª ├▀░í╟╧░í│¬ ╗²╖½╟╥ ╝÷ ╛°┤┘. ▒╫╖»│¬
- ┐Σ├╗┐í ┤δ╟╤ ┐└╖∙ ╖╬▒╫└╟ ░µ┐∞ <a href="#accesslog">┴ó▒┘
- ╖╬▒╫</a>┐í╡╡ ┤δ└└╟╧┤┬ ╟╫╕±└╠ ╗²▒Σ┤┘. ┐╣╕ª ╡Θ╛ε, └º└╟ ░µ┐∞
- ╗≤┼┬─┌╡σ░í 403└╬ ┴ó▒┘ ╖╬▒╫ ╟╫╕±└╠ ╗²▒Σ┤┘. ┴ó▒┘ ╖╬▒╫┤┬
- ╗τ┐δ└┌┴ñ└╟╟╥ ╝÷ └╓└╕╣╟╖╬ └╠ ╞─└╧└╗ ┬ⁿ░φ╟╧┐⌐ ┐└╖∙ ╗≤╚▓┐í
- ┤δ╟╤ ├▀░í┴ñ║╕╕ª ╛≥└╗ ╝÷ └╓┤┘.</p>
-
- <p>░╦╗τ╟╥╢º ╛ε╢▓ ╣«┴ª░í ╗²▒Γ┤┬┴÷ ┐└╖∙ ╖╬▒╫╕ª ░Φ╝╙ ╗∞╞∞║╕┤┬
- ░═└╠ ┴┴┤┘. └»┤╨╜║ ╜├╜║┼█┐í╝¡ ┤┘└╜░· ░░└╠ ╟╤┤┘:</p>
-
- <example>
- tail -f error_log
- </example>
- </section>
-
- <section id="accesslog">
- <title>┴ó▒┘ ╖╬▒╫ (Access Log)</title>
-
- <related>
- <modulelist>
- <module>mod_log_config</module>
- <module>mod_setenvif</module>
- </modulelist>
- <directivelist>
- <directive module="mod_log_config">CustomLog</directive>
- <directive module="mod_log_config">LogFormat</directive>
- <directive module="mod_setenvif">SetEnvIf</directive>
- </directivelist>
- </related>
-
- <p>╝¡╣÷ ┴ó▒┘ ╖╬▒╫┤┬ ╝¡╣÷░í ├│╕«╟╧┤┬ ╕≡╡τ ┐Σ├╗└╗ ▒Γ╖╧╟╤┤┘.
- <directive module="mod_log_config">CustomLog</directive>
- ┴÷╜├╛ε┤┬ ┴ó▒┘ ╖╬▒╫└╟ └º─í┐═ │╗┐δ└╗ ┴÷┴ñ╟╤┤┘. <directive
- module="mod_log_config">LogFormat</directive> ┴÷╜├╛ε╕ª
- ╗τ┐δ╟╧┐⌐ ╖╬▒╫┐í ╞≈╟╘╟╥ │╗┐δ└╗ ╜▒░╘ ╝▒┼├╟╥ ╝÷ └╓┤┘. └╠ └²└║
- ╝¡╣÷░í ┴ó▒┘ ╖╬▒╫┐í ╛╡ │╗┐δ└╗ ╝│┴ñ╟╧┤┬ ╣µ╣²└╗ ╝│╕φ╟╤┤┘.</p>
-
- <p>╣░╖╨ ┴ó▒┘ ╖╬▒╫┐í ┴ñ║╕╕ª ▒Γ╖╧╟╧┤┬ ░═└║ ╖╬▒╫ ░ⁿ╕«└╟ ╜├└█└╧
- ╗╙└╠┤┘. ┤┘└╜ ┤▄░Φ┤┬ └╠ ┴ñ║╕╕ª ║╨╝«╟╧┐⌐ └»┐δ╟╤ ┼δ░Φ╕ª ╕╕╡σ┤┬
- ░═└╠┤┘. └╠ ╣«╝¡┤┬ └╧╣▌└√└╬ ╖╬▒╫ ║╨╝«┐í ┤δ╟╪╝¡ ┤┘╖τ┴÷ ╛╩└╕╕τ,
- ╖╬▒╫ ║╨╝«└║ ╜╟┴ª └Ñ╝¡╣÷░í ╟╥ └╧└╠ ╛╞┤╧┤┘. ╖╬▒╫ ║╨╝«┐í ┤δ╟╤
- ┴ñ║╕┐═ ╖╬▒╫╕ª ║╨╝«╟╧┤┬ ╝╥╟┴╞«┐■╛ε┐í ┤δ╟╪╝¡┤┬ <a
- href="http://dmoz.org/Computers/Software/Internet/Site_Management/Log_analysis/">Open Directory</a>│¬
- <a href="http://dir.yahoo.com/Computers_and_Internet/Software/Internet/World_Wide_Web/Servers/Log_Analysis_Tools/">Yahoo</a>╕ª
- ┬ⁿ░φ╟╧╢≤.</p>
-
- <p>╛╞╞──í └Ñ╝¡╣÷┤┬ └╠└ⁿ║╬┼═ mod_log_referer, mod_log_agent,
- <directive module="mod_log_config">CustomLog</directive>
- ░░└║ ╕≡╡Γ░· ┴÷╜├╛ε╕ª ╗τ┐δ╟╧┐⌐ ┴ó▒┘ ╖╬▒╫╕ª ┤┘╖τ╛·┤┘. ┴÷▒▌└║
- <directive module="mod_log_config">CustomLog</directive>
- ┴÷╜├╛ε░í ┐└╖í╡╚ ┴÷╜├╛ε╡Θ└╟ ╕≡╡τ ▒Γ┤╔└╗ └╠╛ε╣▐╛╥┤┘.</p>
-
- <p>┴ó▒┘ ╖╬▒╫└╟ ╟ⁿ╜─└║ ╕┼┐∞ ╗τ┐δ└┌┴ñ└╟ ░í┤╔╟╧┤┘. ╟ⁿ╜─└║ C└╟
- printf(1) ╟ⁿ╜─╣«└┌┐¡░· ╕┼┐∞ └»╗τ╟╤ ╟ⁿ╜─╣«└┌┐¡└╗ ╗τ┐δ╟╧┐⌐
- ┴÷┴ñ╟╤┤┘. ┤┘└╜ └²┐í ┐╣╕ª ╡Θ╛·┤┘. ╟ⁿ╜─╣«└┌┐¡┐í ╗τ┐δ░í┤╔╟╤
- ╕≡╡τ │╗┐δ└╗ ╛╦╖┴╕Θ <module>mod_log_config</module> <a
- href="mod/mod_log_config.html#formats">╟ⁿ╜─╣«└┌┐¡</a>└╗
- ┬ⁿ░φ╟╧╢≤.</p>
-
- <section id="common">
- <title>Common ╖╬▒╫ ╟ⁿ╜─</title>
-
- <p>┴ó▒┘ ╖╬▒╫└╟ └ⁿ╟ⁿ└√└╬ ╝│┴ñ└║ ┤┘└╜░· ░░┤┘.</p>
-
- <example>
- LogFormat "%h %l %u %t \"%r\" %>s %b" common<br />
- CustomLog logs/access_log common
- </example>
-
- <p>▒╫╖»╕Θ ┴÷┴ñ╟╤ ╖╬▒╫ ╟ⁿ╜─╣«└┌┐¡└╗ <em>║░╕φ</em>
- <code>common</code>└╕╖╬ ┴ñ└╟╟╤┤┘. ╟ⁿ╜─╣«└┌┐¡└║ ╞█╝╛╞«
- ┴÷╜├╛ε╡Θ╖╬ ▒╕╝║╡╟╕τ, ░ó░ó└║ ╛ε╢▓ ┴ñ║╕╕ª ▒Γ╖╧╟╥┴÷ ╛╦╕░┤┘.
- ╟ⁿ╜─╣«└┌┐¡┐í └╧╣▌ ╣«└┌╕ª └√└╕╕Θ ▒╫┤δ╖╬ ╖╬▒╫┐í ├Γ╖┬╡╚┤┘.
- ╡√┐╚╟Ñ ╣«└┌(<code>"</code>)╕ª ├Γ╖┬╟╧░φ ╜═┤┘╕Θ ╣Θ╜╜╖í╜¼╕ª
- ╛╒┐í ║┘┐⌐╝¡ ╟ⁿ╜─╣«└┌┐¡└╟ │í└╠ ╛╞┤╘└╗ ╟Ñ╜├╟╤┤┘. ╟ⁿ╜─╣«└┌┐¡┐í
- ┴┘╣┘▓▐ "<code>\n</code>", ┼╟ "<code>\t</code>"┐═ ░░└║
- ╞»╝÷ ┴╢└²╣«└┌╕ª ╗τ┐δ╟╥ ╝÷ └╓┤┘.</p>
-
- <p><directive module="mod_log_config">CustomLog</directive>
- ┴÷╜├╛ε┤┬ ┴ñ└╟╟╤ <em>║░╕φ</em>└╗ ╗τ┐δ╟╧┤┬ ╗⌡╖╬┐ε ╖╬▒╫╞─└╧└╗
- ╕╕╡τ┤┘. ┴ó▒┘ ╖╬▒╫└╟ ╞─└╧╕φ└╠ ╜╜╖í╜¼╖╬ ╜├└█╟╧┴÷╛╩└╕╕Θ
- <directive module="core">ServerRoot</directive>└╟ ╗≤┤δ░µ╖╬└╠┤┘.</p>
-
- <p>╛╒└╟ ╝│┴ñ└║ ░°┼δ╖╬▒╫╟ⁿ╜─(Common Log Format, CLF)└╠╢≤┤┬
- ╟ⁿ╜─└╕╖╬ ╖╬▒╫ ╟╫╕±└╗ ▒Γ╖╧╟╤┤┘. ┐⌐╖» ┤┘╕Ñ └Ñ╝¡╣÷╡Θ╡╡ └╠╖▒
- ╟Ñ┴╪ ╟ⁿ╜─└╕╖╬ ╖╬▒╫╕ª ╕╕╡Θ╕τ, ┐⌐╖» ╖╬▒╫ ║╨╝« ╟┴╖╬▒╫╖Ñ┐í╝¡
- └╨└╗ ╝÷ └╓┤┘. CLF╖╬ ╕╕╡τ ╖╬▒╫╞─└╧ ╟╫╕±└║ ┤┘└╜░· ░░┤┘:</p>
-
- <example>
- 127.0.0.1 - frank [10/Oct/2000:13:55:36 -0700] "GET
- /apache_pb.gif HTTP/1.0" 200 2326
- </example>
-
- <p>└╠┴ª ╖╬▒╫ ╟╫╕±└╟ ░ó ║╬║╨└╗ ╝│╕φ╟╤┤┘.</p>
-
- <dl>
- <dt><code>127.0.0.1</code> (<code>%h</code>)</dt>
-
- <dd>╝¡╣÷┐í ┐Σ├╗└╗ ╟╤ ┼¼╢≤└╠╛≡╞«(┐°░▌ ╚ú╜║╞«)└╟ IP
- ┴╓╝╥└╠┤┘. <directive
- module="core">HostnameLookups</directive>░í
- <code>On</code>└╠╢≤╕Θ ╚ú╜║╞«╕φ└╗ ├ú╛╞╝¡ IP ┴╓╝╥ └┌╕«┐í
- ┤δ╜┼ ╛┤┤┘. ▒╫╖»│¬ └╠ ╝│┴ñ└║ ╝¡╣÷╕ª ╕┼┐∞ ┤└╕«░╘ ╟╥ ╝÷
- └╓└╕╣╟╖╬ ├▀├╡╟╧┴÷ ╛╩┤┬┤┘. ╚ú╜║╞«╕φ└╗ ╛╦╖┴╕Θ ┤δ╜┼ │¬┴▀┐í
- <a href="programs/logresolve.html">logresolve</a>┐═
- ░░└║ ╖╬▒╫╕ª ├│╕«╟╧┤┬ ╟┴╖╬▒╫╖Ñ└╗ ╗τ┐δ╟╧┤┬ ░═└╠ ┴┴┤┘.
- ┐⌐▒Γ┐í │¬┐┬ IP ┴╓╝╥┤┬ ╗τ┐δ└┌░í ╗τ┐δ╟╧┤┬ ──╟╗┼═ ┴╓╝╥░í
- ╛╞┤╥ ╝÷ └╓┤┘. ╟┴╖╧╜├ ╝¡╣÷░í ╗τ┐δ└┌┐═ ╝¡╣÷╗τ└╠┐í ┴╕└τ╟╤┤┘╕Θ,
- ┐°╖í ──╟╗┼═ ┴╓╝╥░í ╛╞┤╧╢≤ ╟┴╖╧╜├└╟ ┴╓╝╥░í ▒Γ╖╧╡╔ ░═└╠┤┘.</dd>
-
- <dt><code>-</code> (<code>%l</code>)</dt>
-
- <dd>├Γ╖┬┐í╝¡ "╗⌐▒Γ▒Γ╚ú"┤┬ ┐Σ├╗╟╤ ┴ñ║╕░í ╛°└╜└╗ │¬┼╕│╜┤┘.
- └╠ ░µ┐∞ ┐⌐▒Γ┐í │¬┐├ ┴ñ║╕┤┬ ┼¼╢≤└╠╛≡╞« ──╟╗┼═└╟
- <code>identd</code>░í ┴ª░°╟╥ ┼¼╢≤└╠╛≡╞«└╟ RFC 1413
- ╜┼┐°└╠┤┘. └╠ ┴ñ║╕┤┬ ╕┼┐∞ ╣╧└╗ ╝÷ ╛°▒Γ╢º╣«┐í, ▒Σ╣╨╚≈
- ░ⁿ╕«╡╟┤┬ │╗║╬ │╫╞«┐≈└╠ ╛╞┤╧╢≤╕Θ └²┤δ╖╬ └╠ ┴ñ║╕╕ª ╗τ┐δ╟╧╕Θ
- ╛╚╡╚┤┘. <directive module="core">IdentityCheck</directive>░í
- <code>On</code>└╠ ╛╞┤╧╢≤╕Θ ╛╞╞──í └Ñ╝¡╣÷┤┬ └╠ ┴ñ║╕╕ª
- ╛╦╛╞║╕╖┴░φ ╜├╡╡╟╧┴÷╡╡ ╛╩┤┬┤┘.</dd>
-
- <dt><code>frank</code> (<code>%u</code>)</dt>
-
- <dd>└╠┤┬ HTTP └╬┴⌡└╕╖╬ ╛╦╛╞│╜ ╣«╝¡╕ª ┐Σ├╗╟╤ ╗τ┐δ└┌└╟
- userid└╠┤┘. ║╕┼δ └╠ ░¬└║ CGI ╜║┼⌐╕│╞«┐í░╘
- <code>REMOTE_USER</code> ╚»░µ║»╝÷╖╬ │╤░▄┴°┤┘. ┐Σ├╗└╟
- ╗≤┼┬─┌╡σ░í 401└╠╢≤╕Θ (╛╞╖í ┬ⁿ░φ) ╗τ┐δ└┌░í ╛╞┴≈ └╬┴⌡└╗
- ░┼─í┴÷ ╛╩╛╥└╕╣╟╖╬ └╠ ░¬└╗ ╣╧└╕╕Θ ╛╚╡╚┤┘. ╣«╝¡╕ª ╛╧╚ú╖╬
- ║╕╚ú╟╧┴÷ ╛╩┤┬┤┘╕Θ └╠ ╟╫╕±└║ └╠└ⁿ ╟╫╕±░· ░░└╠
- "<code>-</code>"└╠┤┘.</dd>
-
- <dt><code>[10/Oct/2000:13:55:36 -0700]</code>
- (<code>%t</code>)</dt>
-
- <dd>
- ╝¡╣÷░í ┐Σ├╗├│╕«╕ª ╕╢─ú ╜├░ú.
- ╟ⁿ╜─└║:
-
- <p class="indent">
- <code>[day/month/year:hour:minute:second zone]<br />
- day = ╝²└┌ 2░│<br />
- month = ╝²└┌ 3░│<br />
- year = ╝²└┌ 4░│<br />
- hour = ╝²└┌ 2░│<br />
- minute = ╝²└┌ 2░│<br />
- second = ╝²└┌ 2░│<br />
- zone = (`+' | `-') ╝²└┌ 4░│</code>
- </p>
- ╖╬▒╫ ╟ⁿ╜─╣«└┌┐¡┐í <code>%{format}t</code>╕ª ╗τ┐δ╟╧┐⌐
- ┤┘╕Ñ ╟ⁿ╜─└╕╖╬ ╜├░ú└╗ ├Γ╖┬╟╥ ╝÷ └╓┤┘. <code>format</code>└║
- C ╟Ñ┴╪ ╢≤└╠║Ω╖»╕«└╟ <code>strftime(3)</code>░· ░░┤┘.
- </dd>
-
- <dt><code>"GET /apache_pb.gif HTTP/1.0"</code>
- (<code>\"%r\"</code>)</dt>
-
- <dd>┼¼╢≤└╠╛≡╞«└╟ ┐Σ├╗┴┘└╠ ╜╓╡√┐╚╟Ñ╖╬ ╣¡┐⌐└╓┤┘. ┐Σ├╗┴┘└║
- ╕┼┐∞ └»┐δ╟╤ ┴ñ║╕╕ª ┤π░φ └╓┤┘. ├╣┬░, ┼¼╢≤└╠╛≡╞«░í ╗τ┐δ╟╤
- ╕▐╜ß╡σ┤┬ <code>GET</code>└╠┤┘. ╡╤┬░, ┼¼╢≤└╠╛≡╞«┤┬ └┌┐°
- <code>/apache_pb.gif</code>╕ª ┐Σ├╗╟╤┤┘. ╝╝╣°┬░, ┼¼╢≤└╠╛≡╞«┤┬
- <code>HTTP/1.0</code> ╟┴╖╬┼Σ─▌└╗ ╗τ┐δ╟╤┤┘. ┐Σ├╗┴┘└╟
- ┐⌐╖» ║╬║╨└╗ ╡√╖╬ ╖╬▒╫╟╥ ╝÷╡╡ └╓┤┘. ┐╣╕ª ╡Θ╛ε, ╟ⁿ╜─╣«└┌┐¡
- "<code>%m %U%q %H</code>"└║ "<code>%r</code>"░· ╢╚░░└╠
- ╕▐╜ß╡σ, ░µ╖╬, ┴·└╟╣«└┌┐¡, ╟┴╖╬┼Σ─▌└╗ ╖╬▒╫╟╤┤┘.</dd>
-
- <dt><code>200</code> (<code>%>s</code>)</dt>
-
- <dd>└╠┤┬ ╝¡╣÷░í ┼¼╢≤└╠╛≡╞«┐í░╘ ║╕│╗┤┬ ╗≤┼┬─┌╡σ└╠┤┘. └╠
- ┴ñ║╕┤┬ (2╖╬ ╜├└█╟╧┤┬ ─┌╡σ) ┐Σ├╗└╠ ╝║░°╟╧┐┤┤┬┴÷, (4╖╬
- ╜├└█╟╧┤┬ ─┌╡σ) ┼¼╢≤└╠╛≡╞«┐í ┐└╖∙░í └╓┤┬┴÷, (5╖╬ ╜├└█╟╧┤┬
- ─┌╡σ) ╝¡╣÷┐í ┐└╖∙░í └╓┤┬┴÷ ╛╦╖┴┴╓╣╟╖╬ ╕┼┐∞ ┴▀┐Σ╟╧┤┘.
- ╗≤┼┬─┌╡σ└╟ └ⁿ├╝ ╕±╖╧└║ <a
- href="http://www.w3.org/Protocols/rfc2616/rfc2616.txt">HTTP
- ▒╘╛α</a> (RFC2616 section 10)┐í╝¡ ├ú└╗ ╝÷ └╓┤┘.</dd>
-
- <dt><code>2326</code> (<code>%b</code>)</dt>
-
- <dd>╕╢┴÷╕╖ ╟╫╕±└║ └└┤Σ ╟∞┤⌡╕ª ┴ª┐▄╟╧░φ ┼¼╢≤└╠╛≡╞«┐í░╘
- ║╕│╗┤┬ │╗┐δ└╟ ┼⌐▒Γ╕ª │¬┼╕│╜┤┘. ┼¼╢≤└╠╛≡╞«┐í░╘ ║╕│╗┤┬
- │╗┐δ└╠ ╛°┤┘╕Θ └╠ ░¬└║ "<code>-</code>"└╠┤┘. │╗┐δ└╠
- ╛°┤┬ ░µ┐∞ "<code>0</code>"└╗ ╖╬▒╫╟╧╖┴╕Θ ┤δ╜┼
- <code>%B</code>╕ª ╗τ┐δ╟╤┤┘.</dd>
- </dl>
- </section>
-
- <section id="combined">
- <title>Combined ╖╬▒╫ ╟ⁿ╜─</title>
-
- <p>└┌┴╓ ╗τ┐δ╡╟┤┬ ┤┘╕Ñ ╟ⁿ╜─╣«└┌┐¡└║ ░ß╟╒╡╚╖╬▒╫╟ⁿ╜─(Combined
- Log Format)└╠┤┘. ┤┘└╜░· ░░└╠ ╗τ┐δ╟╤┤┘.</p>
-
- <example>
- LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
- \"%{User-agent}i\"" combined<br />
- CustomLog log/access_log combined
- </example>
-
- <p>└╠ ╟ⁿ╜─└║ ╡╬ ╟╫╕±└╗ ┤⌡ ├▀░í╟╤ ░═└╗ ┴ª┐▄╟╧░φ┤┬ Common
- ╖╬▒╫ ╟ⁿ╜─░· ┐╧└ⁿ╚≈ ░░┤┘. ├▀░í╡╚ ╟╫╕±╡Θ└║ ╞█╝╛╞« ┴÷╜├╛ε
- <code>%{<em>header</em>}i</code>╕ª ╗τ┐δ╟╤┤┘. ┐⌐▒Γ╝¡
- <em>header</em> └┌╕«┐í HTTP ┐Σ├╗ ╟∞┤⌡ └╠╕º└╠ │¬┐├ ╝÷
- └╓┤┘. └╠ ╟ⁿ╜─└╟ ┴ó▒┘ ╖╬▒╫┤┬ ┤┘└╜░· ░░┤┘:</p>
-
- <example>
- 127.0.0.1 - frank [10/Oct/2000:13:55:36 -0700] "GET
- /apache_pb.gif HTTP/1.0" 200 2326
- "http://www.example.com/start.html" "Mozilla/4.08 [en]
- (Win98; I ;Nav)"
- </example>
-
- <p>├▀░í╡╚ ╟╫╕±└║:</p>
-
- <dl>
- <dt><code>"http://www.example.com/start.html"</code>
- (<code>\"%{Referer}i\"</code>)</dt>
-
- <dd>"Referer" (╕┬├π╣² ╞▓╕«┴÷╛╩╛╥└╜) HTTP ┐Σ├╗ ╟∞┤⌡.
- ┼¼╢≤└╠╛≡╞«░í ┬ⁿ┴╢╟▀┤┘░φ ╝¡╣÷┐í░╘ ╛╦╕░ ╗τ└╠╞«└╠┤┘.
- (┴∩, <code>/apache_pb.gif</code>╕ª ╕╡┼⌐╟╧┐┤░┼│¬ ╞≈╟╘╟╤
- ╗τ└╠╞«└╠┤┘.)</dd>
-
- <dt><code>"Mozilla/4.08 [en] (Win98; I ;Nav)"</code>
- (<code>\"%{User-agent}i\"</code>)</dt>
-
- <dd>User-Agent HTTP ┐Σ├╗ ╟∞┤⌡. ┼¼╢≤└╠╛≡╞« ║Ω╢≤┐∞└·░í
- └┌╜┼┐í ┤δ╟╪ ╛╦╕«┤┬ ╜─║░┴ñ║╕└╠┤┘.</dd>
- </dl>
- </section>
-
- <section id="multiple">
- <title>┐⌐╖» ┴ó▒┘ ╖╬▒╫</title>
-
- <p>╝│┴ñ╞─└╧┐í ┐⌐╖» <directive
- module="mod_log_config">CustomLog</directive> ┴÷╜├╛ε╕ª
- ╗τ┐δ╟╧╕Θ ┴ó▒┘ ╖╬▒╫░í ┐⌐╖»░│ ╕╕╡Θ╛ε┴°┤┘. ┐╣╕ª ╡Θ╛ε, ┤┘└╜
- ╝│┴ñ└║ ╝╝░í┴÷ ┴ó▒┘ ╖╬▒╫╕ª ╕╕╡τ┤┘. ├╣╣°┬░┤┬ ▒Γ║╗ CLF ┴ñ║╕╕ª
- ▒Γ╖╧╟╧░φ, ╡╬╣°┬░┐═ ╝╝╣°┬░┤┬ referer┐═ ║Ω╢≤┐∞└· ┴ñ║╕╕ª
- ▒Γ╖╧╟╤┤┘. ╕╢┴÷╕╖ ╡╬ <directive
- module="mod_log_config">CustomLog</directive> ┴┘└║ ╛ε╢╗░╘
- └╠└ⁿ <code>ReferLog</code>┐═ <code>AgentLog</code> ┴÷╜├╛ε└╟
- ▒Γ┤╔└╗ ╚Σ│╗│╛ ╝÷ └╓┤┬┴÷ ║╕┐⌐┴╪┤┘.</p>
-
- <example>
- LogFormat "%h %l %u %t \"%r\" %>s %b" common<br />
- CustomLog logs/access_log common<br />
- CustomLog logs/referer_log "%{Referer}i -> %U"<br />
- CustomLog logs/agent_log "%{User-agent}i"
- </example>
-
- <p>╢╟, └╠ ┐╣┤┬ <directive
- module="mod_log_config">LogFormat</directive>└╕╖╬ ╣▌╡σ╜├
- ║░╕φ└╗ ┴ñ└╟╟╥ ╟╩┐Σ┤┬ ╛°└╜└╗ ║╕┐⌐┴╪┤┘. ┤δ╜┼ <directive
- module="mod_log_config">CustomLog</directive> ┴÷╜├╛ε┐í
- ┴≈┴ó ╖╬▒╫ ╟ⁿ╜─└╗ ┴÷┴ñ╟╥ ╝÷ └╓┤┘.</p>
- </section>
-
- <section id="conditional">
- <title>┴╢░╟║╬ ╖╬▒╫</title>
-
- <p>┼¼╢≤└╠╛≡╞« ┐Σ├╗└╟ ╝║░▌┐í ╡√╢≤ ╟╪┤τ ╟╫╕±└╗ ┴ó▒┘ ╖╬▒╫┐í
- ▒Γ╖╧╟╧┴÷╛╩░φ ╜═└╗ ╢º░í └╓┤┘. <a href="env.html">╚»░µ║»╝÷</a>╕ª
- ╗τ┐δ╟╧╕Θ ╜▒░╘ ╟╪░ß╡╚┤┘. ╕╒└·, ┼¼╢≤└╠╛≡╞«░í ╞»┴ñ ┴╢░╟└╗
- ╕╕┴╖╟╧╕Θ ╚»░µ║»╝÷╕ª ╝│┴ñ╟╤┤┘. └╠ └█╛≈┐í┤┬ ║╕┼δ <directive
- module="mod_setenvif">SetEnvIf</directive>╕ª ╗τ┐δ╟╤┤┘.
- ▒╫╕«░φ <directive module="mod_log_config">CustomLog</directive>
- ┴÷╜├╛ε┐í <code>env=</code>└╗ ╗τ┐δ╟╧┐⌐ ╚»░µ║»╝÷ └»╣½┐í
- ╡√╢≤ ┐Σ├╗└╗ ┴²╛ε│╓░┼│¬ ╗½┤┘. ┐╣╕ª ╡Θ╕Θ:</p>
-
- <example>
- # loop-back └╬┼═╞Σ└╠╜║┐í╝¡ ┐Σ├╗└╗ ╟Ñ╜├╟╤┤┘<br />
- SetEnvIf Remote_Addr "127\.0\.0\.1" dontlog<br />
- # robots.txt ╞─└╧┐í ┤δ╟╤ ┐Σ├╗└╗ ╟Ñ╜├╟╤┤┘<br />
- SetEnvIf Request_URI "^/robots\.txt$" dontlog<br />
- # │¬╕╙┴÷╕ª ╖╬▒╫┐í │▓▒Σ┤┘<br />
- CustomLog logs/access_log common env=!dontlog
- </example>
-
- <p>┤┘╕Ñ ┐╣╖╬ ┐╡╛ε▒╟ ╗τ┐δ└┌└╟ ┐Σ├╗╕╕└╗ ╟╤ ╖╬▒╫╞─└╧┐í ▒Γ╖╧╟╧░φ,
- ║±┐╡╛ε▒╟ ╗τ┐δ└┌└╟ ┐Σ├╗└║ ┤┘╕Ñ ╖╬▒╫╞─└╧┐í ▒Γ╖╧╟╧┤┬ ░µ┐∞╕ª
- ╗²░ó╟╪║╕└┌.</p>
-
- <example>
- SetEnvIf Accept-Language "en" english<br />
- CustomLog logs/english_log common env=english<br />
- CustomLog logs/non_english_log common env=!english
- </example>
-
- <p>┴╢░╟║╬ ╖╬▒╫┤┬ ╕┼┐∞ ░¡╖┬╟╧░φ └»┐¼╟╧┴÷╕╕, └╠░═└╠ ╖╬▒╫
- │╗┐δ└╗ ┴╢└²╟╧┤┬ └»└╧╟╤ ╣µ╣²└║ ╛╞┤╧┤┘. ╖╬▒╫╞─└╧└║ ╝¡╣÷└╟
- ╕≡╡τ ╟α╡┐└╗ ▒Γ╖╧╟╥╢º ┤⌡ └»┐δ╟╧┤┘. │¬┴▀┐í ┐°╟╧┴÷╛╩┤┬ ┐Σ├╗└╗
- ┴ª┐▄╟╧░φ ╖╬▒╫╞─└╧└╗ ║╨╝«╟╧┤┬ ░═└╠ ┤⌡ ╜▒┤┘.</p>
- </section>
- </section>
-
- <section id="rotation">
- <title>╖╬▒╫ ╝°╚» (Log Rotation)</title>
-
- <p>┴╢▒▌ ╣┘╗█ ╝¡╣÷┴╢┬≈╡╡ ╖╬▒╫╞─└╧┐í └·└σ╡╟┤┬ ┴ñ║╕╖«└║ ╕┼┐∞
- ╕╣┤┘. ┴ó╝╙ ╖╬▒╫┤┬ ║╕┼δ ╕╕╣° ┐Σ├╗┤τ 1MB └╠╗≤ ┴⌡░í╟╤┤┘. ░ß░·└√└╕╖╬
- ▒Γ┴╕└╟ ╖╬▒╫╕ª ┐┼▒Γ░┼│¬ ┴÷┐∞┤┬ ╣µ╣²└╕╖╬ ╖╬▒╫╕ª ┴╓▒Γ└√└╕╖╬
- ╝°╚░╟╥ ╟╩┐Σ░í └╓┤┘. ╛╞╞──í┤┬ ╞─└╧└╗ ┐¡░φ└╓┤┬ ╡┐╛╚┐í┤┬ ░Φ╝╙
- └╠└ⁿ ╖╬▒╫╞─└╧┐í ╛▓▒Γ╢º╣«┐í ╝¡╣÷░í ╜╟╟α┴▀└╧╢º ╖╬▒╫╕ª ╝°╚»╟╥
- ╝÷ ╛°┤┘. ┤δ╜┼ ╖╬▒╫╞─└╧└╗ ┐┼▒Γ░┼│¬ ┴÷┐ε╚─ ╝¡╣÷╕ª <a
- href="stopping.html">└τ╜├└█</a>╟╧┐⌐, ╖╬▒╫╞─└╧└╗ ╗⌡╖╬ ┐¡╛ε╛▀
- ╟╤┤┘.</p>
-
- <p><em>┴í└▌└║</em> └τ╜├└█└╗ ╗τ┐δ╟╧╕Θ ╝¡╣÷┤┬ ┼¼╢≤└╠╛≡╞«┐═
- ▒Γ┴╕└╟ ╚ñ└║ ┤δ▒Γ╡╚ ┐¼░ß└╗ └╥┴÷╛╩░φ ╗⌡ ╖╬▒╫╞─└╧└╗ ┐¡ ╝÷ └╓┤┘.
- ▒╫╖»│¬ └╠╕ª └º╟╪ ╝¡╣÷┤┬ ┐└╖í╡╚ ┐Σ├╗└╟ ╝¡║±╜║╕ª │í│╗┤┬ ╡┐╛╚
- └╠└ⁿ ╖╬▒╫╞─└╧└╗ ░Φ╝╙ ╗τ┐δ╟╪╛▀ ╟╤┤┘. ▒╫╖»╣╟╖╬ └τ╜├└█╟╤╚─
- ╖╬▒╫╞─└╧└╗ ├│╕«╟╧▒Γ └ⁿ┐í ╛≤╕╢░ú ▒Γ┤┘╕▒ ╟╩┐Σ░í └╓┤┘. └╧╣▌└√└╕╖╬
- ┤┘└╜░· ░░└╠ ╖╬▒╫╕ª ╝°╚»╟╧░φ, ╡≡╜║┼⌐░°░ú└╗ └²╛α╟╧▒Γ└º╟╪ └╠└ⁿ
- ╖╬▒╫╕ª ╛╨├α╟╤┤┘:</p>
-
- <example>
- mv access_log access_log.old<br />
- mv error_log error_log.old<br />
- apachectl graceful<br />
- sleep 600<br />
- gzip access_log.old error_log.old
- </example>
-
- <p>╖╬▒╫╕ª ╝°╚»╟╧┤┬ ┤┘╕Ñ ╣µ╣²└║ ┤┘└╜ └²┐í╝¡ ╝│╕φ╟╥ <a
- href="#piped">╞─└╠╟┴ ╖╬▒╫</a>╕ª ╗τ┐δ╟╧┤┬ ░═└╠┤┘.</p>
- </section>
-
- <section id="piped">
- <title>╖╬▒╫╕ª ╞─└╠╟┴╖╬ ║╕│╗▒Γ</title>
-
- <p>╛╞╞──í └Ñ╝¡╣÷┤┬ ┐└╖∙ ╖╬▒╫┐═ ┴ó▒┘ ╖╬▒╫╕ª ╞─└╧┐í ┴≈┴ó
- ╛▓┴÷╛╩░φ ╞─└╠╟┴╕ª ┼δ╟╪ ┤┘╕Ñ ╟┴╖╬╝╝╜║╖╬ ║╕│╛ ╝÷ └╓┤┘. └╠
- ▒Γ┤╔└╗ ╗τ┐δ╟╧╕Θ ╝¡╣÷┐í ─┌╡σ╕ª ├▀░í╟╧┴÷╛╩░φ╡╡ ╕┼┐∞ └»┐¼╟╧░╘
- ╖╬▒╫╕ª ├│╕«╟╥ ╝÷ └╓┤┘. ╖╬▒╫╕ª ╞─└╠╟┴┐í ╛▓▒Γ└º╟╪ ╞─└╧╕φ
- └┌╕«┐í ╞─└╠╟┴╣«└┌ "<code>|</code>"┐═ ╡┌┐í ╟Ñ┴╪└╘╖┬└╕╖╬
- ╖╬▒╫ ╟╫╕±└╗ └╨└╗ ╜╟╟α╞─└╧╕φ└╗ └√└╕╕Θ ╡╚┤┘. ╛╞╞──í┤┬ ╝¡╣÷░í
- ╜├└█╟╥╢º ╞─└╠╟┴╖╬ ┐¼░ß╟╥ ╖╬▒╫ ╟┴╖╬╝╝╜║╕ª ╜├└█╟╧░φ, ╝¡╣÷░í
- ╜╟╟α╡╟┤┬ ╡┐╛╚ ╟┴╖╬╝╝╜║░í ┴╫└╕╕Θ ┤┘╜├ ╜├└█╟╤┤┘. (└╠ ╕╢┴÷╕╖
- ▒Γ┤╔╢º╣«┐í ┐∞╕«┤┬ └╠ ╣µ╣²└╗ "╣╧└╗ ╝÷ └╓┤┬ ╞─└╠╟┴ ╖╬▒╫"╢≤░φ
- ║╬╕Ñ┤┘.)</p>
-
- <p>╞─└╠╟┴╖╬ ┐¼░ß╡╚ ╖╬▒╫ ╟┴╖╬╝╝╜║┤┬ ║╬╕≡ ╛╞╞──í httpd ╟┴╖╬╝╝╜║░í
- ╢τ┐∞░φ, ╟┴╖╬╝╝╜║└╟ userid╡╡ ░░┤┘. ┴∩, ╞─└╠╟┴╖╬ ┐¼░ß╡╚ ╖╬▒╫
- ╟┴╖╬▒╫╖Ñ└║ ║╕┼δ root╖╬ ╜╟╟α╡╚┤┘. ▒╫╖»╣╟╖╬ ╟┴╖╬▒╫╖Ñ└╗ ░ú┤▄╟╧░φ
- ╛╚└ⁿ╟╧░╘ ╕╕╡σ┤┬ ░═└╠ ╕┼┐∞ ┴▀┐Σ╟╧┤┘.</p>
-
- <p>╞─└╠╟┴╖╬ ║╬╕ú┤┬ └ⁿ├╝ ╕φ╖╔╛ε╕ª ╡√┐╚╟Ñ╖╬ ╣¡└╜└╗ ╕φ╜╔╟╧╢≤.
- └╠ ┐╣┤┬ ┴ó▒┘ ╖╬▒╫┐í ┤δ╟╤ ░═└╠┴÷╕╕, ┐└╖∙ ╖╬▒╫╡╡ ╕╢┬∙░í┴÷┤┘.</p>
-
- <p>╝¡╣÷╕ª └τ╜├└█╟╧┴÷╛╩░φ ╖╬▒╫╕ª ╝°╚»╟╥ ╝÷ └╓┤┬ ░═└╠ ╞─└╠╟┴
- ╖╬▒╫╕ª ╗τ┐δ╟╧┤┬ ┴▀┐Σ╟╤ └╠└»┤┘. ╛╞╞──í └Ñ╝¡╣÷┤┬ └╠╕ª └º╟╪
- <a href="programs/rotatelogs.html">rotatelogs</a>╢≤┤┬ ░ú┤▄╟╤
- ╟┴╖╬▒╫╖Ñ└╗ ╞≈╟╘╟╤┤┘. ┐╣╕ª ╡Θ╛ε 24╜├░ú╕╢┤┘ ╖╬▒╫╕ª ╝°╚»╟╤┤┘╕Θ:</p>
-
- <example>
- CustomLog "|/usr/local/apache/bin/rotatelogs
- /var/log/access_log 86400" common
- </example>
-
- <p>┤┘╕Ñ ╗τ└╠╞«┐í <a
- href="http://www.cronolog.org/">cronolog</a>╢≤┤┬ ║±╜┴╟╧┴÷╕╕
- ╚╬╛└ ┤⌡ └»┐¼╟╤ ╖╬▒╫ ╝°╚» ╟┴╖╬▒╫╖Ñ└╠ └╓┤┘.</p>
-
- <p>┴╢░╟║╬ ╖╬▒╫┐═ ░░└╠ ╞─└╠╟┴ ╖╬▒╫┤┬ ╕┼┐∞ ░¡╖┬╟╤ ╡╡▒╕┴÷╕╕,
- │¬┴▀┐í ├│╕«╟╧┤┬ ╡ε└╟ ┤⌡ ░ú┤▄╟╤ ╣µ╣²└╠ ░í┤╔╟╤ ░µ┐∞ ╗τ┐δ╟╪╝¡┤┬
- ╛╚╡╚┤┘.</p>
- </section>
-
- <section id="virtualhost">
- <title>░í╗≤╚ú╜║╞«</title>
-
- <p>╕╣└║ <a href="vhosts/">░í╗≤╚ú╜║╞«</a>░í └╓┤┬ ╝¡╣÷╕ª
- ┐ε┐╡╟╥╢º ┐⌐╖»░í┴÷ ╣µ╣²└╕╖╬ ╖╬▒╫╞─└╧└╗ ┤┘╖Ω ╝÷ └╓┤┘. ╕╒└·,
- ╚ú╜║╞«░í ╟╤░│└╬ ╝¡╣÷┐═ ░░└╠ ╖╬▒╫╕ª ╗τ┐δ╟╥ ╝÷ └╓┤┘. <directive
- module="core" type="section">VirtualHost</directive> ╝╜╝╟└╠
- ╛╞┤╤ ┴╓╝¡╣÷ ╝│┴ñ┐í ╖╬▒╫ ┴÷╜├╛ε╕ª ╡╬╕Θ ╕≡╡τ ┐Σ├╗└╠ ░░└║ ┴ó▒┘
- ╖╬▒╫┐═ ┐└╖∙ ╖╬▒╫╖╬ ▒Γ╖╧╡╚┤┘. └╠ ╣µ╣²└║ ░í╗≤╚ú╜║╞«║░╖╬ ╜▒░╘
- ┼δ░Φ├│╕«╕ª ╟╥ ╝÷ ╛°┤┘.</p>
-
- <p><directive module="core" type="section">VirtualHost</directive>
- ╝╜╝╟ ╛╚┐í <directive module="mod_log_config">CustomLog</directive>│¬
- <directive module="core">ErrorLog</directive> ┴÷╜├╛ε╕ª
- ╗τ┐δ╟╧╕Θ ╟╪┤τ ░í╗≤╚ú╜║╞«┐í ┤δ╟╤ ┐Σ├╗░· ┐└╖∙╕╕└╠ ┴÷┴ñ╡╚
- ╞─└╧┐í ▒Γ╖╧╡╚┤┘. ╖╬▒╫ ┴÷╜├╛ε░í ╛°┤┬ ┤┘╕Ñ ░í╗≤╚ú╜║╞«┤┬ ░Φ╝╙
- ┴╓╝¡╣÷ ╖╬▒╫┐í ╖╬▒╫╕ª ▒Γ╖╧╟╤┤┘. └╠ ╣µ╣²└║ ░í╗≤╚ú╜║╞« ░│╝÷░í
- └√└╗ ░µ┐∞ ╕┼┐∞ └»┐δ╟╧┴÷╕╕, ╚ú╜║╞« ╝÷░í ╕╣┤┘╕Θ ░ⁿ╕«╟╧▒Γ
- ╚√╡Θ╛ε┴°┤┘. ╢╟, <a href="vhosts/fd-limits.html">╞─└╧▒Γ╝·└┌░í
- ║╬┴╖╟╤</a> ╣«┴ª░í └┌┴╓ ╣▀╗²╟╤┤┘.</p>
-
- <p>┴ó▒┘ ╖╬▒╫└╟ ░µ┐∞ ╕┼┐∞ ┴┴└║ ╟╪░ß├Ñ└╠ └╓┤┘. ╖╬▒╫ ╟ⁿ╜─╣«└┌┐¡┐í
- ░í╗≤╚ú╜║╞«┐í ┤δ╟╤ ┴ñ║╕╕ª ├▀░í╟╧╕Θ ╕≡╡τ ╚ú╜║╞«░í ░░└║ ╖╬▒╫╕ª
- ╗τ┐δ╟╧░φ, │¬┴▀┐í ╖╬▒╫╕ª ░í╗≤╚ú╜║╞«║░╖╬ │¬┤¡ ╝÷ └╓┤┘. ┐╣╕ª
- ╡Θ╛ε, ┤┘└╜ ┴÷╜├╛ε╕ª ║┴╢≤.</p>
-
- <example>
- LogFormat "%v %l %u %t \"%r\" %>s %b"
- comonvhost<br />
- CustomLog logs/access_log comonvhost
- </example>
-
- <p><code>%v</code>┤┬ ┐Σ├╗└╗ ╝¡║±╜║╟╧┤┬ ░í╗≤╚ú╜║╞« └╠╕º└╗
- ▒Γ╖╧╟╤┤┘. │¬┴▀┐í <a href="programs/other.html">split-logfile</a>
- ░░└║ ╟┴╖╬▒╫╖Ñ└╕╖╬ ┴ó▒┘ ╖╬▒╫╕ª ░í╗≤╚ú╜║║░╖╬ │¬┤¡ ╝÷ └╓┤┘.</p>
- </section>
-
- <section id="other">
- <title>┤┘╕Ñ ╖╬▒╫╞─└╧</title>
-
- <related>
- <modulelist>
- <module>mod_cgi</module>
- <module>mod_rewrite</module>
- </modulelist>
- <directivelist>
- <directive module="mpm_common">PidFile</directive>
- <directive module="mod_rewrite">RewriteLog</directive>
- <directive module="mod_rewrite">RewriteLogLevel</directive>
- <directive module="mod_cgi">ScriptLog</directive>
- <directive module="mod_cgi">ScriptLogBuffer</directive>
- <directive module="mod_cgi">ScriptLogLength</directive>
- </directivelist>
- </related>
-
- <section id="pidfile">
- <title>PID ╞─└╧</title>
-
- <p>╛╞╞──í └Ñ╝¡╣÷┤┬ ╜├└█╟╥╢º <code>logs/httpd.pid</code>
- ╞─└╧┐í ║╬╕≡ httpd ╟┴╖╬╝╝╜║└╟ process id╕ª └·└σ╟╤┤┘. └╠
- ╞─└╧╕φ└║ <directive module="mpm_common">PidFile</directive>
- ┴÷╜├╛ε╖╬ ║»░µ╟╥ ╝÷ └╓┤┘. process-id┤┬ ░ⁿ╕«└┌░í ║╬╕≡ ╟┴╖╬╝╝╜║┐í
- ╜├▒╫│╬└╗ ║╕│╗ ╝¡╣÷╕ª └τ╜├└█╟╧░┼│¬ ┴╫└╧╢º ╗τ┐δ╟╤┤┘.
- └⌐╡╡┐∞┴ε┐í╝¡┤┬ ┤δ╜┼ -k ╕φ╖╔╟α┐╔╝╟└╗ ╗τ┐δ╟╤┤┘. ┤⌡ └┌╝╝╟╤
- ┴ñ║╕┤┬ <a href="stopping.html">┴▀┤▄░· └τ╜├└█</a> ╞Σ└╠┴÷╕ª
- ┬ⁿ░φ╟╧╢≤.</p>
- </section>
-
- <section id="scriptlog">
- <title>╜║┼⌐╕│╞« ╖╬▒╫</title>
-
- <p>╡≡╣÷▒δ└╗ ╡╜▒Γ└º╟╪ <directive
- module="mod_cgi">ScriptLog</directive> ┴÷╜├╛ε╕ª ╗τ┐δ╟╧┐⌐
- CGI ╜║┼⌐╕│╞«└╟ └╘╖┬░· ├Γ╖┬└╗ ▒Γ╖╧╟╥ ╝÷ └╓┤┘. └╠ ┴÷╜├╛ε┤┬
- ┐└┴≈ ┼╫╜║╞«┐δ└╕╖╬╕╕ ╗τ┐δ╟╪╛▀ ╟╤┤┘. ╜╟┴ª ╗τ┐δ╟╧┤┬ ╝¡╣÷┐í╝¡
- ╗τ┐δ╟╧╕Θ ╛╚╡╚┤┘. ┤⌡ └┌╝╝╟╤ ┴ñ║╕┤┬ <a
- href="mod/mod_cgi.html">mod_cgi</a> ╣«╝¡╕ª ┬ⁿ░φ╟╧╢≤.</p>
- </section>
-
- <section id="rewritelog">
- <title>└τ└█╝║ ╖╬▒╫</title>
-
- <p><a href="mod/mod_rewrite.html">mod_rewrite</a>└╟ ░¡╖┬╟╧░φ
- ║╣└Γ╟╤ ▒Γ┤╔└╗ ╗τ┐δ╟╤┤┘╕Θ ╡≡╣÷▒δ└╗ └º╟╪ ░┼└╟ ╟╫╗≤ <directive
- module="mod_rewrite">RewriteLog</directive>╕ª ╗τ┐δ╟╥ ╟╩┐Σ░í
- └╓┤┘. └╠ ╖╬▒╫╞─└╧└║ └τ└█╝║ ┐ú┴°└╠ ╛ε╢╗░╘ ┐Σ├╗└╗ ║»╚»╟╧┤┬┴÷┐í
- ┤δ╟╪ └┌╝╝╚≈ ╛╦╖┴┴╪┤┘. └┌╝╝╟╤ ┴ñ╡╡┤┬ <directive
- module="mod_rewrite">RewriteLogLevel</directive> ┴÷╜├╛ε╖╬
- ┴╢└²╟╤┤┘.</p>
- </section>
- </section>
- </manualpage>
-
-
-
-
-